import request from "../request";

// 添加信息
export const insert = (params: object) => {
    return request({
        url: "/pl/appkeycon/insert",
        method: 'POST',
        data: params
    })
}

// 更新信息
export const update = (params: object) => {
    return request({
        url: "/pl/appkeycon/update",
        method: 'POST',
        data: params
    })
}
// 更新信息
export const updateValid = (params: object) => {
    return request({
        url: "/pl/appkeycon/update/valid",
        method: 'POST',
        data: params
    })
}

// 删除信息
export const remove = (params: object) => {
    return request({
        url: "/pl/appkeycon/remove",
        method: 'POST',
        data: params
    })
}

export default {
    insert, update,updateValid, remove
}